package com.ruoyi.pos.domain.dto.shift.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 交班报表响应DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@ApiModel(description = "交班报表响应")
public class ShiftReportResponse {

    @ApiModelProperty(value = "生成日期时间")
    private Date generateTime;

    @ApiModelProperty(value = "营业员登录号")
    private String cashierCode;

    @ApiModelProperty(value = "营业员姓名")
    private String cashierName;

    @ApiModelProperty(value = "POS机号")
    private String deviceCode;

    @ApiModelProperty(value = "报表类型")
    private String reportType;

    @ApiModelProperty(value = "报表开始时间")
    private Date reportStartTime;

    @ApiModelProperty(value = "报表结束时间")
    private Date reportEndTime;

    @ApiModelProperty(value = "总交易笔数")
    private Integer totalTransactions;

    @ApiModelProperty(value = "总交易金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "明细列表")
    private List<ShiftReportDetail> details;
}
